<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
<head><title>Non-Destructive Marginalia (NDM)</title> 
  <link type="text/css" rel="stylesheet" href="/stylesheets/ndm_main2.css" /> 
  <link href='http://fonts.googleapis.com/css?family=IM+Fell+DW+Pica' rel='stylesheet' type='text/css'>
  <link href='http://fonts.googleapis.com/css?family=Reenie+Beanie' rel='stylesheet' type='text/css'>
</head> 

<body>
  <div id="header">
    <div class="inner_header">
      <img id="logo" alt="Non-Destructive Marginalia logo" src="/images/NDM_logo2.png" width="250" height="197">
      <span id="title">Non-Destructive Marginalia</span>
      <span id="subtitle">Connecting people through QR codes to just about anything</span>

      <div class="login_overlay" align="right"> 
	<div class="login_inner" align=center>
	{% if user_nick %} Welcome {{ user_nick }}! [<a href="{{ url }}">{{ url_linktext }}</a> if you are not this user]
	{% else %}
	Please <a href="{{ url }}">{{ url_linktext }}</a>.
	{% endif %}
	</div>
      </div> 	
    </div>
  </div>

  <div class="shadow"></div>

  <div class="inner_header">
    <div id="article">
    Welcome! NDM is a funky new way to annotate objects and build a rich history
of them. It's also community driven so you can share your annotations as well as
view others. We are still in ALPHA stage so features will be implemented in time.
Enjoy!
 
    <p> 
    {% if user_nick %} 
    <!--Scan QR code (feature not implemented yet)-->
    <a href="/ndm/generate/new/">Generate new QR code</a>
  
    <p>
    Admin features:<br>
    <a href="/ndm/generate/unused/">See unused code</a>
    {% else %}
    You need to be logged in to use this app service.
    {% endif %}
    </div>
  </div>
  
</body> 
</html>